Can you people try this code and see if you get the same
error message as me ?
#version 3.6;
// Does not work
#macro Test()
#local AA = array[1] { 1 }
AA
#end // macro Test
// Works
#macro Tust()
#local AA = array[1]
#local AA[0] = 1;
AA
#end // macro Tust
// Works
#macro Tist()
array[1] { 1 }
#end // macro Test
#declare BB = Test()
I get this error message:
File: E:\Raytracinger\Untitled.pov Line: 6
File Context (5 lines):
#local AA = array[1] { 1 }
AA
Parse Error: Cannot assign uninitialized identifier.
POV-Ray for Windows Version 3.6.1.icl8.win32
Athlon XP2400 PC with 512MB RAM
Windows 2000 Professional v5.0.2195 Service Pack 2 Build 2195
--
Tor Olav
http://subcube.net
http://subcube.com
Post a reply to this message
|